package csel.model;

import junit.framework.Assert;
import junit.framework.TestCase;

import org.junit.After; 
import org.junit.Before; 
import org.junit.Test; 


public class ObstacleItemTester extends TestCase{
	public static void main(String args[]) 
	{ 
		junit.textui.TestRunner.run(MapTester.class); 
	} 

	ObstacleItem obstacleItem;
	@Before
	protected void setUp() throws Exception
	{
		obstacleItem = new ObstacleItem("Stucks");	
	}

	//do all of them at once because I'm lazy
	@Test
	public void testObstacleItem()
	{
		Assert.assertEquals(obstacleItem.touch(new Entity(new GameGlobals(), new Summoner())), false);
		Assert.assertEquals(obstacleItem.isImpassable(), false);
	}


	@After protected void tearDown() throws Exception 
	{ 
		super.tearDown();
	} 
}

